package com.ruoyi.project.beautyflower.advertisement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 广告管理表 bf_advertisement
 * 
 * @author lxs
 * @date 2018-09-28
 */
public class Advertisement extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/**  */
	private Integer sort;
	/**  */
	private String name;
	/**  */
	private Integer type;
	/**  */
	private String startDate;
	/**  */
	private String endDate;
	/**  */
	private Integer line;
	/**  */
	private String filePath;
	/**  */
	private String url;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setType(Integer type) 
	{
		this.type = type;
	}

	public Integer getType() 
	{
		return type;
	}
	public void setStartDate(String startDate) 
	{
		this.startDate = startDate;
	}

	public String getStartDate() 
	{
		return startDate;
	}
	public void setEndDate(String endDate) 
	{
		this.endDate = endDate;
	}

	public String getEndDate() 
	{
		return endDate;
	}
	public void setLine(Integer line) 
	{
		this.line = line;
	}

	public Integer getLine() 
	{
		return line;
	}
	public void setFilePath(String filePath) 
	{
		this.filePath = filePath;
	}

	public String getFilePath() 
	{
		return filePath;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sort", getSort())
            .append("name", getName())
            .append("type", getType())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("line", getLine())
            .append("filePath", getFilePath())
            .append("url", getUrl())
            .toString();
    }
}
